package com.google.android.gms.common.api;

import com.getpebble.android.R;
import com.sun.mail.iap.Response;
import com.sun.mail.imap.protocol.ListInfo;
import com.sun.mail.smtp.SMTPMessage;

public class CommonStatusCodes {
    public static String getStatusCodeString(int statusCode) {
        switch (statusCode) {
            case SMTPMessage.NOTIFY_NEVER /*-1*/:
                return "SUCCESS_CACHE";
            case R.styleable.WalletFragmentStyle_buyButtonHeight /*0*/:
                return "SUCCESS";
            case SMTPMessage.RETURN_FULL /*1*/:
                return "SERVICE_MISSING";
            case SMTPMessage.RETURN_HDRS /*2*/:
                return "SERVICE_VERSION_UPDATE_REQUIRED";
            case ListInfo.INDETERMINATE /*3*/:
                return "SERVICE_DISABLED";
            case SMTPMessage.NOTIFY_DELAY /*4*/:
                return "SIGN_IN_REQUIRED";
            case R.styleable.WalletFragmentStyle_maskedWalletDetailsHeaderTextAppearance /*5*/:
                return "INVALID_ACCOUNT";
            case R.styleable.WalletFragmentStyle_maskedWalletDetailsBackground /*6*/:
                return "RESOLUTION_REQUIRED";
            case R.styleable.WalletFragmentStyle_maskedWalletDetailsButtonTextAppearance /*7*/:
                return "NETWORK_ERROR";
            case Response.NO /*8*/:
                return "INTERNAL_ERROR";
            case R.styleable.WalletFragmentStyle_maskedWalletDetailsLogoTextColor /*9*/:
                return "SERVICE_INVALID";
            case R.styleable.WalletFragmentStyle_maskedWalletDetailsLogoImageType /*10*/:
                return "DEVELOPER_ERROR";
            case R.styleable.MapAttrs_uiZoomGestures /*11*/:
                return "LICENSE_CHECK_FAILED";
            case 3000:
                return "AUTH_API_INVALID_CREDENTIALS";
            case 3001:
                return "AUTH_API_ACCESS_FORBIDDEN";
            case 3002:
                return "AUTH_API_CLIENT_ERROR";
            case 3003:
                return "AUTH_API_SERVER_ERROR";
            case 3004:
                return "AUTH_TOKEN_ERROR";
            case 3005:
                return "AUTH_URL_RESOLUTION";
            default:
                return "unknown status code: " + statusCode;
        }
    }
}
